﻿using log4net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Home : System.Web.UI.Page
{
    ILog logger = LogManager.GetLogger(typeof(Home));
    protected void Page_Load(object sender, EventArgs e)
    {
        logger.Info("Se Inicio lah Pantalla Principal");
    }
    protected void btn_Redactar_Click(object sender, EventArgs e)
    {
        Response.Redirect("RedactarCorreo.aspx");
        logger.Info("Se dirigio a Redactar Correo");
    }
    protected void btn_VerCorreos_Click(object sender, EventArgs e)
    {
        Response.Redirect("VerCorreos.aspx");
        logger.Info("Se dirigio a Ver Correos");
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        this.Session["usuario"] = null;
        Response.Redirect("Login.aspx");
        logger.Info("Cerro Sesion Usuario");
    }
}